import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const role: AppRouteModule = {
  path: '/role',
  name: 'Role',
  component: LAYOUT,
  redirect: '/role/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'eos-icons:role-binding',
    title: '角色管理',
    orderNo: 1,
  },
  children: [
    {
      path: 'index',
      name: 'RoleIndex',
      component: () => import('/@/views/sys/role/index.vue'),
      meta: {
        title: '角色管理',
        icon: 'eos-icons:role-binding',
        hideMenu: true,
        hideBreadcrumb: true,
      },
    },
  ],
};

export default role;
